#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int xt2_3(){
	int n = 0;
	scanf("%d",&n);
	for (int i = n; i > 0;i--){
		int space = n - i;
		int num = 2 * i - 1;
		for (int j = 0; j < space; j++){
			printf(" ");
		}
		for (int j = 0; j < num;j++){
			printf("#");
		}

		printf("\n");
	}
	return 0;
}